load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "brietest_test",
    timeout = "long",
    srcs = [
        "backup_restore_test.go",
        "binlog_test.go",
        "brie_test.go",
        "main_test.go",
        "operator_test.go",
    ],
    flaky = True,
    race = "on",
    deps = [
        "//br/pkg/task",
        "//br/pkg/task/operator",
        "//pkg/config",
        "//pkg/executor",
        "//pkg/parser/mysql",
        "//pkg/session",
        "//pkg/testkit",
        "//pkg/testkit/testsetup",
        "//tests/realtikvtest",
        "@com_github_google_uuid//:uuid",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_pingcap_kvproto//pkg/import_sstpb",
        "@com_github_pingcap_kvproto//pkg/kvrpcpb",
        "@com_github_pingcap_log//:log",
        "@com_github_stretchr_testify//require",
        "@com_github_tikv_client_go_v2//oracle",
        "@com_github_tikv_pd_client//:client",
        "@org_golang_google_grpc//:grpc",
        "@org_golang_google_grpc//credentials/insecure",
        "@org_uber_go_goleak//:goleak",
        "@org_uber_go_zap//zapcore",
    ],
)
